package cn.text;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class Text9 {
	public static void main(String[] args) throws IOException {
	
		FileReader fr = new FileReader("TT.txt");
		BufferedReader br = new BufferedReader(fr);
		
		FileWriter fw = new FileWriter("bb.txt");
		PrintWriter pw = new PrintWriter(fw);
		
		String temp = "";
		while((temp = br.readLine())!=null){
			pw.println(temp);
			pw.flush();

		}
		}
}
